package com.hunt.service.impl;

import com.hunt.dao.ISysUserMapper;
import com.hunt.model.entity.SysUser;
import com.hunt.service.ISysUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: hunt-lx
 * @description: 用户实现类
 * @author: Lx
 * @create: 2019-01-30 22:25
 **/
@Service
public class SysUserImpl implements ISysUser
{
    @Autowired
    private ISysUserMapper iSysUserMapper;

    @Override
    public SysUser selectByUsername(String username)
    {
        return iSysUserMapper.selectByUsername(username);
    }
}
